package it.patterns.behavioral.command;

public class Invoker {
	private Command a;
	private Command b;
	private Command c;

	
	public Invoker(Command a, Command b, Command c) {
		super();
		this.a = a;
		this.b = b;
		this.c = c;
	}

	public void doCommandA() {
		a.execute();
	}

	public void doCommandB() {
		b.execute();
	}

	public void doCommandC() {
		c.execute();
	}
}
